package com.mask.im.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mask.im.business.model.entity.SysResourceEntity;
import com.mask.im.business.model.dto.LabelOptionDTO;
import com.mask.im.business.model.dto.ResourceDTO;
import com.mask.im.business.model.vo.ConditionVO;
import com.mask.im.business.model.vo.ResourceVO;

import java.util.List;


/**
 * 资源管理
 *
 * @author jian
 */
public interface SysResourceService extends IService<SysResourceEntity> {
    void importSwagger();

    void saveOrUpdateResource(ResourceVO resourceVO);

    void deleteResource(Integer resourceId);

    List<ResourceDTO> listResources(ConditionVO conditionVO);

    List<LabelOptionDTO> listResourceOption();
}

